.container {
  width: 100%;
  height: 100vh;
  background: #edeae8;
}

.searchBar {
  position: relative;
  height: 30px;
  width: 250px;
  box-shadow: inset 0 -1px 0 0 #eaedea;
  padding: 20px 0 14px 0;
  -webkit-user-select: auto;
  -webkit-app-region: drag;
  & div {
    background: #dbd9d8;
    width: 250px;
    border-radius: 10px;
    margin-left: 10px;
    transform: scale(0.83);
    transform-origin: 0 0;
  }
  & input {
    -webkit-app-region: no-drag;
    height: 30px;
    width: 100%;
    line-height: 30px;
    background: none;
    outline: 0;
    border: 0;
    font-family: "Helvetica";
    font-size: 18px;
    font-weight: 100;
    text-indent: 20px;
    margin-left: 18px;
  }

  & i {
    position: absolute;
    left: 16px;
    top: 55%;
    font-size: 24px;
    color: #6b6a6a;
    transform: translateY(-50%);
  }
}

.contacts {
  height: auto; /* Height - Header - Footer - Search Input */
  /*overflow-x: hidden;*/
  /*overflow-y: auto;*/
}

.notfound {
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;

  & h1 {
    margin-bottom: 25vh;
    font-family: "Roboto";
    font-weight: 100;
    color: rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    word-spacing: 4px;
  }
}

.inner {
  text-align: center;

  & img {
    width: 220px;
    margin-bottom: 30px;
  }
}

.column {
  width: 274px;
}

.group {
  width: 100%;
  /* padding: 8px 5px 8px 20px; */
  /*padding-left: 10px;*/
  /*margin-right: 10px;*/
}

.header {
  /* position: relative;
    width: 100%;
    height: 36px; */
  border-bottom: 1px solid #dcdbdb;
  margin-left: 25px;

  & label {
    /* position: absolute;
        left: 12px;
        bottom: 8px; */
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 300;
    color: #999999;
  }

  & span {
    position: absolute;
    right: 0;
    left: 12px;
    bottom: 8px;
    display: block;
    font-family: "Roboto";
    font-size: 12px;
    color: #9b9b9b;
  }
}

.item {
  /* width: 100%; */
  display: flex;
  height: 20px;
  margin: 5px 0;
  padding: 20px 10px 20px 25px;
  align-items: center;
  cursor: pointer;

  & p {
    transition: 0.2s;
  }

  &:hover p {
    color: #405de6 !important;
  }

  & img {
    margin-top: 3px;
    margin-right: 19px;
    border-radius: 5px;
  }
}

.item:hover {
  background: #d7d8d9;
}
.avatar,
.info {
  display: inline-block;
}

.username,
.signature {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.username {
  font-family: "Helvetica";
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
  margin-bottom: 4px;
}

.signature {
  font-family: "Helvetica";
  font-size: 12px;
  color: #777;
  margin: 0;
}
.userListContainer {
  height: calc(100vh - 60px);
  overflow: auto;
}
.userList {
  height: auto;

  & .userListTitle {
    background: #edeae8;
    position: sticky;
    top: 0;
    z-index: 1;
    color: #000;
    margin-left: 10px;
    margin-bottom: 7px;
    height: 22px;
    font-family: 'SimHei';
    
    & svg {
      transform: scale(0.4);
      position: absolute;
      left: -12px;
      top: -9px;
    }
    & span{
        position: absolute;
        left: 15px;
    }
    & i{
      position: absolute;
      right: 15px;
      font-style:normal;
      color: #999;
    }
  }
  & .adduser {
    height: 60px;
    padding-left: 10px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    position: relative;

    & svg {
      position: absolute;
      top: 10px;
      left: 10px;
    }
    & span {
      display: inline-block;
      line-height: 30px;
      position: absolute;
      left: 50px;
      top: 13px;
    }
  }
  & .adduser:hover {
    background: #d7d8d9;
  }
}
.groupList {
  height: 60px;
  padding-left: 25px;
  color: #000;
  position: relative;

  & img {
    position: absolute;
    width: 32px;
    height: 32px;
    margin-top: 3px;
    margin-right: 19px;
    border-radius: 3px;
    top: 10px;
  }
  & span {
    display: inline-block;
    line-height: 30px;
    position: absolute;
    left: 70px;
    top: 13px;
    width: 60px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    font-size: 14px;
  }
}
.groupList:hover {
  background: #d7d8d9;
}
.friendRequestItem{
    height: 60px;
    color: #000;
    width: 100%;
    position: relative;
    min-width: 250px;
    border-bottom: 1px solid #eee;

    & .friendItem {
          padding-left: 25px;
        & img {
              position: absolute;
              width: 32px;
              height: 32px;
              margin-top: 3px;
              margin-right: 19px;
              border-radius: 3px;
              top: 10px;
          }
        & .username {
            position: absolute;
            left: 70px;
            top: 12px;
          }
        & .userReason {
            position: absolute;
            bottom: 8px;
            left: 70px;
            color: #999;
        }
    }

& .statusButton {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    align-items: center;
    display: flex;
    text-align:center;
    & .enable {
      background: #1aad19;
      border: 1px solid #ddd;
      color: #fff;
      padding: 5px 5px;
      margin: auto;
      font-size: 12px;
      font-weight: 600;
      }
    & .disable {
        margin: auto;
        color: #999;
        background: inherit;
        border: 0;
    }
 }

& .statusButton:hover > .enable{
    display: none;
  }

& .statusButton:hover div {
      display: block;
  }
& .handleButton {
      position: absolute;
      right: 10px;
      z-index: 1;
      top: 0px;
      width: 60px;
      height: 100%;
      align-items: center;
      text-align:center;
  display:none;

 & .accept{
      width: 90%;
      background: #1aad19;
      border: 1px solid #ddd;
      color: #fff;
      padding: 5px 10px;
      font-weight: 600;
  }
& .reject{
    width: 90%;
    background: red;
    border: 1px solid #ddd;
    color: #fff;
    padding: 5px 10px;
    font-weight: 600;
}
}
}

.friendRequestItem:hover {
    background: #d7d8d9;
}
@media (width <= 800px) {
  .searchBar {
    & div {
      width: 230px;
    }

    & i {
      left: 16px;
      top: 55%;
    }
  }
  .columns {
    padding: 20px 17px 0;
  }

  .notfound {
    & h1 {
      word-spacing: 2px;
    }
  }

  .column {
    width: 230px;
  }

  .group {
    width: 100%;
    padding: 6px 0;
  }

  .header {
    width: 100%;
    height: 26px;

    & label {
      bottom: 6px;
      font-size: 18px;
    }

    & span {
      font-size: 11px;
    }
  }

  .item {
    height: 36px;
    margin: 8px 0;
    padding: 4px 25px;

    & img {
      margin-top: 4px;
      margin-right: 14px;
    }
  }

  .avatar img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 28px;
  }

  .username,
  .signature {
    max-width: 160px;
  }

  .username {
    font-size: 13px;
    margin-bottom: 2px;
  }
}
